

<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=&#34;light&#34;>



<head>
  <meta charset="UTF-8">
  <link rel="apple-touch-icon" sizes="76x76" href="https://cdn.jsdelivr.net/gh/kzwrime/kzwrime.github.io/img/favicon.png">
  <link rel="icon" type="image/png" href="https://tuchuangrrr.oss-cn-shenzhen.aliyuncs.com/img/kunnan.png">
  <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  
  <meta name="theme-color" content="#2f4154">
  <meta name="description" content="">
  <meta name="author" content="kunzh">
  <meta name="keywords" content="">
  <title>kunzh</title>

  <link  rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.4.1/css/bootstrap.min.css" />



<!-- 主题依赖的图标库，不要自行修改 -->

<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_pf9vaxs7x7b.css">



<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_kmeydafke9r.css">


<link  rel="stylesheet" href="/css/main.css" />

<!-- 自定义样式保持在最底部 -->


  <script  src="/js/utils.js" ></script>
  <script  src="/js/color-schema.js" ></script>
</head>


<body>
  <header style="height: 75vh;">
    <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
  <div class="container">
    <a class="navbar-brand"
       href="/">&nbsp;<strong>kunzh</strong>&nbsp;</a>

    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <div class="animated-icon"><span></span><span></span><span></span></div>
    </button>

    <!-- Collapsible content -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto text-center">
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/">
                <i class="iconfont icon-home-fill"></i>
                首页
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/archives/">
                <i class="iconfont icon-archive-fill"></i>
                归档
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/categories/">
                <i class="iconfont icon-category-fill"></i>
                分类
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/tags/">
                <i class="iconfont icon-tags-fill"></i>
                标签
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/about/">
                <i class="iconfont icon-user-fill"></i>
                关于
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/links/">
                <i class="iconfont icon-link-fill"></i>
                友链
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/shuoshuo2/">
                <i class="iconfont icon-speakernotes"></i>
                留言板
              </a>
            </li>
          
        
        
          <li class="nav-item" id="search-btn">
            <a class="nav-link" data-toggle="modal" data-target="#modalSearch">&nbsp;<i
                class="iconfont icon-search"></i>&nbsp;</a>
          </li>
        
        
          <li class="nav-item" id="color-toggle-btn">
            <a class="nav-link" href="javascript:">&nbsp;<i
                class="iconfont icon-dark" id="color-toggle-icon"></i>&nbsp;</a>
          </li>
        
      </ul>
    </div>
  </div>
</nav>

    <div class="banner intro-2" id="background" parallax=true
         style="background: url('https://rainrime.top/img/SloveniaAlps.jpg') no-repeat center center;
           background-size: cover;">
      <div class="full-bg-img">
        <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
          <div class="container page-header text-center fade-in-up">
            <span class="h2" id="subtitle">
              
            </span>

            
          </div>

          
        </div>
      </div>
    </div>
  </header>

  <main>
    
      <div class="container nopadding-md">
        <div class="py-5" id="board"
          >
          
          <div class="container">
            <div class="row">
              <div class="col-12 col-md-10 m-auto">
                


  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/100_h5%E8%B4%AA%E5%90%83%E8%9B%87/" target="_self">
          <img src="https://tuchuangrrr.oss-cn-shenzhen.aliyuncs.com/img/贪吃蛇2.png" srcset="/img/loading.gif" alt="h5 贪吃蛇">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/100_h5%E8%B4%AA%E5%90%83%E8%9B%87/">h5 贪吃蛇</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/100_h5%E8%B4%AA%E5%90%83%E8%9B%87/">
          
          
            
          
          
            这是个可以直接玩的贪吃蛇。注：好像获取浏览器焦点有点异常，建议使用wasd移动，此贪吃蛇不会死亡。
          






无标题文档


s


.snake{
	border:0px;
	position:absolute; 
	width:20px; 
	height:20px; 
	background:#8EC0E4;
}
#screen{
	marg
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-30 10:36" pubdate>
              2020-06-30
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E7%BC%96%E7%A8%8B/">编程</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/html/">html</a>
            
              <a href="/tags/javascript/">javascript</a>
            
              <a href="/tags/%E6%B8%B8%E6%88%8F/">游戏</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/%E5%A4%9A%E7%BA%BF%E7%A8%8B%E5%85%A5%E9%97%A8_01/" target="_self">
          <img src="https://tuchuangrrr.oss-cn-shenzhen.aliyuncs.com/img/cpu_monochromatic-恢复的.png" srcset="/img/loading.gif" alt="多线程入门 01">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/%E5%A4%9A%E7%BA%BF%E7%A8%8B%E5%85%A5%E9%97%A8_01/">多线程入门 01</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/%E5%A4%9A%E7%BA%BF%E7%A8%8B%E5%85%A5%E9%97%A8_01/">
          
          
            
          
           一个简单的例子
上手之前，先来直观感受一下一段简单的使用 POSIX 多线程 API 的代码，以及与普通单线程的比较。代码的功能就是简单地循环计个数。
先提前声明一下，虽然本文的代码用 gcc 编译运行都能通过，但我其实使用 g++ 的。。。
毕竟平时是写 c++ 的，有东西记得不是很清，反正 g++ 编译就都能用了 ヽ(゜▽゜　)－－…

 代码

单线程计数, 展开查看代码
// test.
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-28 15:46" pubdate>
              2020-06-28
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E7%BC%96%E7%A8%8B/">编程</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/c/">c</a>
            
              <a href="/tags/c/">c++</a>
            
              <a href="/tags/linux/">linux</a>
            
              <a href="/tags/%E5%A4%9A%E7%BA%BF%E7%A8%8B/">多线程</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/%E8%81%8A%E5%A4%A9%E5%AE%A4/" target="_self">
          <img src="https://tuchuangrrr.oss-cn-shenzhen.aliyuncs.com/img/abstract-no-connection.png" srcset="/img/loading.gif" alt="c 聊天室">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/%E8%81%8A%E5%A4%A9%E5%AE%A4/">c 聊天室</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/%E8%81%8A%E5%A4%A9%E5%AE%A4/">
          
          
            
          
          本文简单的图标使用内置的 mermaid-js 绘制，复杂的使用 Visio，风格不一，抱歉。
 C/S 模型

 TCP 服务端通信的常规步骤:

使用 socket() 创建 TCP 套接字（socket）
将创建的套接字绑定到一个本地地址和端口上（Bind）
将套接字设为监听模式，准备接收客户端请求（listen）
等待客户请求到来: 当请求到来后，接受连接请求，返回一个对应于此次连接的新的
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-25 09:00" pubdate>
              2020-06-25
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E7%BC%96%E7%A8%8B/">编程</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/c/">c</a>
            
              <a href="/tags/c/">c++</a>
            
              <a href="/tags/linux/">linux</a>
            
              <a href="/tags/%E7%BD%91%E7%BB%9C/">网络</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/markdown%E6%89%A9%E5%B1%952/" target="_self">
          <img src="https://tuchuangrrr.oss-cn-shenzhen.aliyuncs.com/img/Latex.png" srcset="/img/loading.gif" alt="markdown 扩展 Latex">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/markdown%E6%89%A9%E5%B1%952/">markdown 扩展 Latex</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/markdown%E6%89%A9%E5%B1%952/">
          
          
            
          
          接着 mermaid 流程图，其实 markdown 扩展的 Latex 也很实用。
先举几个例子。
 上下标
$$
\overbrace&#123;a_0+...\underbrace&#123;a_i+...+a_&#123;i+k&#125;&#125;_&#123;total\ k+1&#125;+a_n&#125;^&#123;total\ n+1&#125;
$$
a0+...ai+.
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-24 18:00" pubdate>
              2020-06-24
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/others/">others</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/md/">md</a>
            
              <a href="/tags/Latex/">Latex</a>
            
              <a href="/tags/%E6%95%B0%E5%AD%A6/">数学</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/markdown%E6%89%A9%E5%B1%95%E8%AF%AD%E6%B3%95/" target="_self">
          <img src="https://tuchuangrrr.oss-cn-shenzhen.aliyuncs.com/img/mermaid001.png" srcset="/img/loading.gif" alt="markdown 扩展 mermaid">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/markdown%E6%89%A9%E5%B1%95%E8%AF%AD%E6%B3%95/">markdown 扩展 mermaid</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/markdown%E6%89%A9%E5%B1%95%E8%AF%AD%E6%B3%95/">
          
          
            
          
          偶然发现 markdown 还能扩展 mermaid 绘图，简要记录一下其用法。
手机端就不要看本文了，本文的渲染器对缩放支持不好
 流程图
 走向
常用的 graph TD(or TB) 表示从上往下，而 graph LR 表示从左往右。总共有以下几种方向：LR - 从左往右 TB/TD - 从上往下 BT - 从下往上 RL - 从右往左
graph TD;
    A--&gt;B;
gra
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-24 17:00" pubdate>
              2020-06-24
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/others/">others</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/mermaid/">mermaid</a>
            
              <a href="/tags/md/">md</a>
            
              <a href="/tags/%E6%B5%81%E7%A8%8B%E5%9B%BE/">流程图</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/vscode%20+%20ssh%20+%20c_cpp/" target="_self">
          <img src="https://tuchuangrrr.oss-cn-shenzhen.aliyuncs.com/img/15893040417896.jpg" srcset="/img/loading.gif" alt="vscode + ssh + c/cpp">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/vscode%20+%20ssh%20+%20c_cpp/">vscode + ssh + c/cpp</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/vscode%20+%20ssh%20+%20c_cpp/">
          
          
            
          
           vscode + ssh + c/cpp
 配置公钥
新版（大概是20H?）的windows已经自带了openssh，因而可以直接在cmd / powershell / windows terminal 里使用ssh，为了避免每次都要输入密码的麻烦，先在本地生成ssh的公钥链接 ssh-keygen，如下图，可以看见生成的id_rsa.pub公钥在用户名目录下的.ssh文件夹里，用记事本打开即可
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-22 21:00" pubdate>
              2020-06-22
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E7%AE%97%E6%B3%95/">算法</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/%E7%AE%97%E6%B3%95/">算法</a>
            
              <a href="/tags/%E5%9B%BE%E8%AE%BA/">图论</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/%E5%9B%BE%E8%AE%BA%E4%B8%AD%E7%9A%84%E9%87%8D%E8%A6%81%E7%AE%97%E6%B3%95/" target="_self">
          <img src="/img/%E5%9B%BE%E8%AE%BA%E4%B8%AD%E7%9A%84%E9%87%8D%E8%A6%81%E7%AE%97%E6%B3%95/graph.png" srcset="/img/loading.gif" alt="图论中的重要算法">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/%E5%9B%BE%E8%AE%BA%E4%B8%AD%E7%9A%84%E9%87%8D%E8%A6%81%E7%AE%97%E6%B3%95/">图论中的重要算法</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/%E5%9B%BE%E8%AE%BA%E4%B8%AD%E7%9A%84%E9%87%8D%E8%A6%81%E7%AE%97%E6%B3%95/">
          
          
            
          
           图论中的重要算法
 遍历
 DFS
深度优先搜索（Depth-first-search，DFS）
// 简单描述
procedure DFS(G：带有顶点v_1,v_2...v_n的连通图)
	T:= 只包含顶点v_1的树
	visit(v_i)

procedure visit(v：G的顶点)
	for 与v相邻且还不在T中的每个顶点ω
		加入顶点ω和边&#123;v,ω&#125;到T
	
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-05 12:00" pubdate>
              2020-06-05
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E7%AE%97%E6%B3%95/">算法</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/%E7%AE%97%E6%B3%95/">算法</a>
            
              <a href="/tags/%E5%9B%BE%E8%AE%BA/">图论</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/More%20exercise%2001/" target="_self">
          <img src="/img/artical_img/lhpn3-s1v86%20(1)%20(1)%20(1).gif" srcset="/img/loading.gif" alt="More exercise 01">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/More%20exercise%2001/">More exercise 01</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/More%20exercise%2001/">
          
          
            
          
           More exercise
19. 编写非递归函数计算n!
int factorial(int n)
&#123;
    if (n &lt;= 1)
        return 1;
    int re = 1;
    for (int i = 1; i &lt;= n; i++)
        re *= i;
    return re;
&#125;
23. 最大公约数（GCD
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-04 15:00" pubdate>
              2020-06-04
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/c/">c++</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/%E7%AE%97%E6%B3%95/">算法</a>
            
              <a href="/tags/c/">c++</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/picgo+aliyun+typora/" target="_self">
          <img src="https://tuchuangrrr.oss-cn-shenzhen.aliyuncs.com/img/86c69914-4545-bc1c-1310-2975d4fe8d6b.jpg" srcset="/img/loading.gif" alt="markdownn 图床 (typora+aliyun+picgo)">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/picgo+aliyun+typora/">markdownn 图床 (typora+aliyun+picgo)</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/picgo+aliyun+typora/">
          
          
            
          
           markdownn 图床 (typora+aliyun+picgo)
实时渲染的typora已然给我们带来了良好的markdown编辑体验，但md文档中的图片如何存储一直是个问题。默认使用的绝对路径在图片转移位置后，或者单独转移md文档后便无法访问，难以分享/拷贝md文档；即时开启自动复制到相对指定路径，也要每次拷贝图片文件夹，且依旧无法直接分享/渲染成html分享。使用在线图床便能解决这一问题
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-03 17:00" pubdate>
              2020-06-03
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/others/">others</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/markdown/">markdown</a>
            
              <a href="/tags/%E5%9B%BE%E5%BA%8A/">图床</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/photos%20during%20WHU/" target="_self">
          <img src="/img/artical_img/640%20(2).webp" srcset="/img/loading.gif" alt="武大忽悠-美景">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/photos%20during%20WHU/">武大忽悠-美景</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/photos%20during%20WHU/">
          
          
            
          
           武大忽悠之美景
 01 来看武大美图
以下为在武大的第一学期从各个地方收藏来的和个人拍摄的一些图片。流量所限，不便放在这里。
请移步https://www.yuque.com/jinjue/oqkxhm/gr0od4
 02 来武大看樱花

    
        
    

建议关闭弹幕获得更好的观看体验
 若不方便观看视频，也可先欣赏一下截图：













感谢 8KRAW
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-03 15:00" pubdate>
              2020-06-03
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/others/">others</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/%E6%AD%A6%E5%A4%A7/">武大</a>
            
              <a href="/tags/photo/">photo</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/%E4%B8%80%E6%AC%A1deepin%E5%AE%89%E8%A3%85%E5%8F%8Avscode%E7%9A%84c++%E9%85%8D%E7%BD%AE/" target="_self">
          <img src="/img/%E4%B8%80%E6%AC%A1deepin%E5%AE%89%E8%A3%85%E5%8F%8Avscode%E7%9A%84c++%E9%85%8D%E7%BD%AE/1586073360913-908ea1a4-a45d-4455-99f7-d5b66fa76064.png" srcset="/img/loading.gif" alt="deepin&amp;vscode配置">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/%E4%B8%80%E6%AC%A1deepin%E5%AE%89%E8%A3%85%E5%8F%8Avscode%E7%9A%84c++%E9%85%8D%E7%BD%AE/">deepin&amp;vscode配置</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/%E4%B8%80%E6%AC%A1deepin%E5%AE%89%E8%A3%85%E5%8F%8Avscode%E7%9A%84c++%E9%85%8D%E7%BD%AE/">
          
          
            
          
           一次deepin安装及vscode的c++配置
安装什么的照着deepin官方的安装方式不需要动脑真是件幸福的事，不过还是小心选择分区。反正安装好以后，对于EFI分区的文件最好做个备份(Diskgenius)，顺便看看启动项对应的是哪个文件(Easyuefi)，以后出问题好恢复。我默认的就deepin启动项，其次就算黑苹果，他们的引导都能开启windows，如果还是想默认进入windows建议在
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-03 09:55" pubdate>
              2020-06-03
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E7%B3%BB%E7%BB%9F/">系统</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/c/">c++</a>
            
              <a href="/tags/%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE/">环境配置</a>
            
              <a href="/tags/linux/">linux</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card">
    
    
      <div class="col-12 col-md-4 m-auto index-img">
        <a href="/2020/06/%E5%B8%8C%E7%BD%97%E5%A4%9A%E5%BE%B7%E6%89%B9%E5%88%A4%E5%BE%97%E5%8E%BB%E5%8F%99%E3%80%81%E8%AE%AE%E5%8E%86%E5%8F%B2%EF%BC%8C%E5%A4%9A%E6%96%B9%E9%9D%A2%E5%85%B7%E6%9C%89%E5%BC%80%E5%88%9B%E6%80%A7/" target="_self">
          <img src="/img/artical_img/index_img_%E5%B8%8C%E7%BD%97%E5%A4%9A%E5%BE%B7.jpg" srcset="/img/loading.gif" alt="对希罗多德的课堂发言">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        <a href="/2020/06/%E5%B8%8C%E7%BD%97%E5%A4%9A%E5%BE%B7%E6%89%B9%E5%88%A4%E5%BE%97%E5%8E%BB%E5%8F%99%E3%80%81%E8%AE%AE%E5%8E%86%E5%8F%B2%EF%BC%8C%E5%A4%9A%E6%96%B9%E9%9D%A2%E5%85%B7%E6%9C%89%E5%BC%80%E5%88%9B%E6%80%A7/">对希罗多德的课堂发言</a>
      </h1>

      <p class="index-excerpt">
        <a href="/2020/06/%E5%B8%8C%E7%BD%97%E5%A4%9A%E5%BE%B7%E6%89%B9%E5%88%A4%E5%BE%97%E5%8E%BB%E5%8F%99%E3%80%81%E8%AE%AE%E5%8E%86%E5%8F%B2%EF%BC%8C%E5%A4%9A%E6%96%B9%E9%9D%A2%E5%85%B7%E6%9C%89%E5%BC%80%E5%88%9B%E6%80%A7/">
          
          
            
          
           希罗多德批判得去叙、议历史，多方面具有开创性
 回顾何为历史
前面的同学们就希罗多德到底是历史之父还是谎言之父已经有了不少探讨，追根逐源，要讨论何为历史之父，必当明确何为历史，既然希罗多德被西方人成为历史之父，首先我们要看看他们对历史一般性的定义是怎么样的。

History (from Greek ἱστορία, historia, meaning ‘inquiry; knowledge a
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-06-02 21:00" pubdate>
              2020-06-02
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E6%9D%82%E6%80%9D%E9%9A%8F%E6%83%B3/">杂思随想</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/%E5%93%B2%E5%AD%A6/">哲学</a>
            
              <a href="/tags/%E9%9A%8F%E7%AC%94/">随笔</a>
            
          </div>
        
      </div>
    </article>
  </div>



  <nav aria-label="navigation">
    <span class="pagination" id="pagination">
      <a class="extend prev" rel="prev" href="/"><i class="iconfont icon-arrowleft"></i></a><a class="page-number" href="/">1</a><span class="page-number current">2</span>
    </span>
  </nav>
  
  <script>
    for (ele of document.getElementById("pagination").getElementsByTagName("a")) {
      ele.href += '#board';
    }
  </script>



              </div>
            </div>
          </div>
        </div>
      </div>
    
  </main>

  
    <a id="scroll-top-button" href="#" role="button">
      <i class="iconfont icon-arrowup" aria-hidden="true"></i>
    </a>
  

  
    <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
     aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header text-center">
        <h4 class="modal-title w-100 font-weight-bold">搜索</h4>
        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body mx-3">
        <div class="md-form mb-5">
          <input type="text" id="local-search-input" class="form-control validate">
          <label data-error="x" data-success="v"
                 for="local-search-input">关键词</label>
        </div>
        <div class="list-group" id="local-search-result"></div>
      </div>
    </div>
  </div>
</div>
  

  

  

  <footer class="mt-5">
  <div class="text-center py-3">
    <div>
      <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a>
      <i class="iconfont icon-love"></i>
      <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener">
        <span>Fluid</span></a>
        <br>
        <span>©2019 - 2020 By</span>
        <a href="https://github.com/rainrime" target="_blank" rel="nofollow noopener"><span>kunzh</span></a>
    </div>
    
  <div class="statistics">
    
    

    
      
        <!-- 不蒜子统计PV -->
        <span id="busuanzi_container_site_pv" style="display: none">
            总访问量 
            <span id="busuanzi_value_site_pv"></span>
             次
          </span>
      
      
        <!-- 不蒜子统计UV -->
        <span id="busuanzi_container_site_uv" style="display: none">
            总访客数 
            <span id="busuanzi_value_site_uv"></span>
             人
          </span>
      
    
  </div>


    

    
  </div>
</footer>


<!-- SCRIPTS -->
<script  src="https://cdn.staticfile.org/jquery/3.4.1/jquery.min.js" ></script>
<script  src="https://cdn.staticfile.org/twitter-bootstrap/4.4.1/js/bootstrap.min.js" ></script>
<script  src="/js/debouncer.js" ></script>
<script  src="/js/main.js" ></script>

<!-- Plugins -->


  
    <script  src="/js/lazyload.js" ></script>
  



  



  <script defer src="https://cdn.staticfile.org/clipboard.js/2.0.6/clipboard.min.js" ></script>
  <script  src="/js/clipboard-use.js" ></script>



  <script defer src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" ></script>







  <script  src="https://cdn.staticfile.org/typed.js/2.0.11/typed.min.js" ></script>
  <script>
    var typed = new Typed('#subtitle', {
      strings: [
        '  ',
        "心能转物，即同如来&nbsp;",
      ],
      cursorChar: "_",
      typeSpeed: 70,
      loop: false,
    });
    typed.stop();
    $(document).ready(function () {
      $(".typed-cursor").addClass("h2");
      typed.start();
    });
  </script>





  <script  src="/js/local-search.js" ></script>
  <script>
    var path = "/local-search.xml";
    var inputArea = document.querySelector("#local-search-input");
    inputArea.onclick = function () {
      searchFunc(path, 'local-search-input', 'local-search-result');
      this.onclick = null
    }
  </script>









  
  
    <script type="text/javascript">
      //定义获取词语下标
      var a_idx = 0;
      jQuery(document).ready(function ($) {
        //点击body时触发事件
        $("body").click(function (e) {
          //需要显示的词语
          var a = new Array("富强", "民主", "文明", "和谐", "自由", "平等", "公正", "法治", "爱国", "敬业", "诚信", "友善");
          //设置词语给span标签
          var $i = $("<span/>").text(a[a_idx]);
          //下标等于原来下标+1  余 词语总数
          a_idx = (a_idx + 1) % a.length;
          //获取鼠标指针的位置，分别相对于文档的左和右边缘。
          //获取x和y的指针坐标
          var x = e.pageX, y = e.pageY;
          //在鼠标的指针的位置给$i定义的span标签添加css样式
          $i.css({
            "z-index": 999,
            "top": y - 20,
            "left": x,
            "position": "absolute",
            "font-weight": "bold",
            "color": rand_color()
          });
          // 随机颜色
          function rand_color() {
            return "rgb(" + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + ")"
          }
          //在body添加这个标签
          $("body").append($i);
          //animate() 方法执行 CSS 属性集的自定义动画。
          //该方法通过CSS样式将元素从一个状态改变为另一个状态。CSS属性值是逐渐改变的，这样就可以创建动画效果。
          //详情请看http://www.w3school.com.cn/jquery/effect_animate.asp
          $i.animate({
            //将原来的位置向上移动180
            "top": y - 180,
            "opacity": 0
            //1500动画的速度
          }, 1500, function () {
            //时间到了自动删除
            $i.remove();
          });
        });
      })
      ;
    </script>
  



  <script>(function (i, s, o, g, r, a, m) {
      i['DaoVoiceObject'] = r;
      i[r] = i[r] ||
        function () {
          (i[r].q = i[r].q || []).push(arguments);
        };
      i[r].l = 1 * new Date();
      a = s.createElement(o);
      m = s.getElementsByTagName(o)[0];
      a.async = 1;
      a.src = g;
      a.charset = 'utf-8';
      m.parentNode.insertBefore(a, m);
    })(window, document, 'script', ('https:' === document.location.protocol ? 'https:' : 'http:') + "//widget.daovoice.io/widget/244aa65c.js", 'daovoice');
    daovoice('init', {
      app_id: "244aa65c",
    });
    daovoice('update');
  </script>









  

  

  

  

  

  





</body>
</html>
